package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface HospitalService extends IService<Hospital> {
    void save(Map<String, Object> paramMap);


    Hospital getByHoscode(String hoscode);

    Page<Hospital> selectPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);


    void updateStatus(String id,Integer status);


    Map<String, Object> getHospById(String id);

    String getHospName(String hoscode);


    List<Hospital> findByHosname(String hosname);


    Map<String, Object> item(String hoscode);
}
